﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
namespace ClassLibrary
{
    [DataContract]
    public class Player
    {
        [DataMember]
        public string FirstName { get; set; }

        [DataMember]
        public string LastName { get; set; }

        public string NumberOfVotes {
            get
            {
                return NbVotes.ToString();
            }
        }

        [DataMember]
        public int NbVotes = 0;

    }
}
